<?php
namespace App\Contracts\Repositories;

use App\Models\PrizePayment\PrizePayment;

interface PrizePaymentRepository
{
    public function insert($prizePayment);

    public function create($prizePayment);

    public function modify($prizePayment, $conditions);

    public function delete($conditions);

    /**
     * @param  $conditions
     *
     * @return PrizePayment|null
     */
    public function find($conditions);

    public function findByConditionsPage($conditions, $sortArray = [], $limit, $start);

    public function countByConditions($conditions);
}
